package com.yonyou.pmclouds.safetyrectification.rectificationrecord.mapper;

import com.yonyou.pmclouds.basecom.dao.BaseMapper;
import com.yonyou.pmclouds.safetyrectification.rectificationrecord.entity.RectificationRecordVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author tanghuan
 * @date 2019/10/26
 */
@Mapper
public interface RectiRecordMapper extends BaseMapper<RectificationRecordVO> {

    List<RectificationRecordVO> getByPkBill(@Param("pkBill") String pkBill);

    List<RectificationRecordVO> getByBillAndStatus(@Param("pkBill") String pkBill, @Param("status") byte status);

//    List<RectificationRecordVO> getByPkBills(@Param("pkBills")  String[] pkBills);
}
